package org.demo;

import org.demo.jetty.TaskHeathCheckServer;

public class TaskHealthCheck {

    public static void main(String[] args) throws InterruptedException {
        TaskHeathCheckServer server = new TaskHeathCheckServer(8080);
        server.start();
        System.out.println("启动");
        Thread.sleep(10000);
        server.stop();
    }
}
